//
// Created by ChenJi on 2021/4/10.
//
#include "tim_extern.h"
#include "TastekE16.h"
__weak void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
    if (htim == &htim6) {
        kernel_button_slow_tick_1ms();
        updateLCDTime();
        kernal_net_time_out_tick_1ms();
        kernel_door_slow_tick_1ms();
    }
    if (htim == &htim16) {
         kernal_time_sync_plan_per_1s();
         verifyTimeSynced();
    }
}
